-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make EKO into a separate resource #2087
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thing is dislike a bit about this is that as part of my workflow I will often (manually) run vp-setupfit
before submitting many jobs to make sure that all the parallel jobs won't try to download the same thing. This PR means I'll have to be more careful about it and find some way to download the ekos as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah no I just see evolven3fit
is not on top of reportengine so there is no way to do --no-net
which I think is import to prevent the issue of accidentally trying to download the same thing many times.
I can add a Putting |
Yes, thanks.
I was thinking about asking this, but if we want to do an MHOU regression test that will rely on vp-setupfit to compute the covmat. Not sure what the limit for the CI is, would it be fine if it just downloads the eko along with |
Yes. I think it also makes sense since only the eko for the fit's theoryid is needed for setting up the fit. |
Of course, but it immediatly adds 1.5GB more to the CI so I was just asking/wondering how much wiggle room we have. Anyway, downloading the eko with vp-setupfit would be my preferred solution |
Done. Let's see what does the fitbot think. |
"ok, everything works ok but it would be nice to add a nice small printout. FML" :) |
Greetings from your nice fit 🤖 !
Check the report carefully, and please buy me a ☕ , or better, a GPU 😉! |
4391294
to
8cd667d
Compare
Can I merge this @RoyStegeman / are you happy with the setupfit solution or do you want to have a second look? |
Closes #2081
It can be tested with
theory_40001002
From an user perspective there should be no differences. When you only need the fktables / theory (i.e., for reports or fits, when doing
check_theoryID
) only the fktables will be downloaded.If the eko needs to be downloaded as well (only for evolution), then it will be downloaded into the same folder as the theory (done in this way so that all the theories that have the eko inside work just the same).
There's a separate
check_eko(thid)
which is used byevolven3fit
and returns the path to theeko.tar
of the theory, checking first the theory.At the moment the ekos range between the 1.5 and 3.5 GB while the whole set of fktables used for 4.0 is about 600 MB so this can have a huge impact e.g. when doing reports in your laptop when the PDF has been generated elsewhere.